package com.test.dao;

import com.test.entity.CompAllInfoDto;
import com.test.entity.StuAllInfoDto;
import com.test.entity.TimeTableDto;
import org.apache.ibatis.annotations.*;

import java.util.List;
import java.util.Map;

public interface CompOperatDao {


    @SelectProvider(type=CompOperatProvider.class,method="selectMyAttentStu")
    List<StuAllInfoDto> selectMyAttentStu(String compName);

    @SelectProvider(type=CompOperatProvider.class,method="selectCompNameByAcount")
    String  selectCompNameByAcount(String acount);

    @SelectProvider(type=CompOperatProvider.class,method="selectAttentByacount")
    List<Map<String,Object>>  selectAttentByacount(String acount);

    @InsertProvider(type=CompOperatProvider.class,method="compAttentStu")
    int compAttentStu(String acount,String compName,String stu_name);

    @SelectProvider(type=CompOperatProvider.class,method="selectCompAttentStu")
    List<StuAllInfoDto> selectCompAttentStu(String comp_acount);

    @SelectProvider(type=CompOperatProvider.class,method="selectStuOnline")
    List<StuAllInfoDto> selectStuOnline(String comp_acount);

    @UpdateProvider(type=CompOperatProvider.class, method="agreeOnlineApplication")
    int  agreeOnlineApplication(String acount,String stu_acount,String wangshenjob);

    @UpdateProvider(type=CompOperatProvider.class, method="compyuyuebishi")
    int  compyuyuebishi(String acount,String stu_acount,String wangshenjob);

    @UpdateProvider(type=CompOperatProvider.class, method="compyuyuemianshi")
    int  compyuyuemianshi(String acount,String stu_acount,String wangshenjob);

    @UpdateProvider(type=CompOperatProvider.class, method="sendOffer")
    int  sendOffer(String acount,String stu_acount,String wangshenjob);


    @UpdateProvider(type=CompOperatProvider.class, method="disOnlineApplication")
    int  disOnlineApplication(String acount,String stu_acount,String wangshenjob);

    @UpdateProvider(type=CompOperatProvider.class, method="rebackOnlineApplication")
    int  rebackOnlineApplication(String acount,String stu_acount,String wangshenjob);


}
